*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    background: #fff;
}
ul{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 300px 200px;
    padding: 0;
    display: flex;
}
ul li{
    list-style: none;
    padding: 10px 20px;
}
ul li a{
    text-decoration: none;
    text-transform: uppercase;
    font-size: 2rem;
    color: #262626;
    position:relative;
}
ul li a::before{
    position: absolute;
    bottom: 0;
    left: 0;
    content: "";
    width: 100%;
    height: 5px;
    background: #f5cd79;
    border-radius: 3px;
    transition: .6s;
    opacity: 0;
}
ul li:hover a::before{
    opacity: 1;
}


